package org.gws.alaska.metamodel.uml.impl

import org.gws.alaska.metamodel.uml.AlaskaModelBuilder;
import org.gws.alaska.metamodel.uml.AlaskaModelStore;
import org.gws.alaska.metamodel.uml.AlaskaProfileBuilder;
import org.eclipse.uml2.uml.Class;
import org.eclipse.uml2.uml.Profile;
import org.eclipse.uml2.uml.ProfileApplication;
import org.eclipse.uml2.uml.Stereotype;
import org.eclipse.uml2.uml.UMLFactory;
import org.eclipse.uml2.uml.Package;
/**
 * Defines a simple builder of UML Profile.
 * @author Gianfranco Murador
 */

class AlaskaProfileBuilderImpl extends AlaskaProfileBuilder {

	private Profile profile;

	@Override
	public void createModel(String name) {
		profile = UMLFactory.eINSTANCE.createProfile();
	}

	@Override
	public void createUMLPackageSterotype(String name) {
		Stereotype s = 	profile.createOwnedStereotype(name, false);
		s.allExtendedMetaclasses.add("Package"); 
	}

	@Override
	public void createUMLClassStereotype(String name) {
		
		
	}

	@Override
	public void createUMLPropertyStereotype(String name) {
	}

	@Override
	public void createUMLAssociationStereotype(String name) {
	}

	@Override
	public void addRelation(String name, String item1, String item2,
	Object options) {
	}

	@Override
	public void addRelation(String name, String item1, String item2) {
	}

	@Override
	public void addItemToPackage(Object items) {
	}

	@Override
	public void addItemToPackage() {
	}

	@Override
	public void createModel(String name, Object params) {
	}
}
